Micron Document
Fox's Git Mirrors

Node / rns-mirrors / Reticulum-Go.git / files / scripts / ci / install-git-hooks.sh

Displaying Raw • Download

scripts/ci/install-git-hooks.sh 9eb1d8a4a2c2fa7c16a4586f6227eaf9f617c5cc (9eb1d8a4) Text, 292 B

#!/bin/sh
# Point this clone at .githooks/ (tracked git hooks).
set -eu

ROOT="$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"

git config core.hooksPath .githooks
chmod +x .githooks/pre-commit scripts/ci/pre-commit-lint.sh
echo "install-git-hooks.sh: core.hooksPath=.githooks"

Served by rngit 1.5.2 - Generated in 0.02s